﻿@model ITXHWEB.Models.LoginModel
@{
    ViewBag.Title = "登记";
}
<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
</hgroup>

<section id="loginForm">
<h2>Use a local account to log in.</h2>
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Log in Form</legend>
        <ol>
            <li>                 
                @Html.LabelFor(m => m.AGENTID)
                @Html.TextBoxFor(m => m.AGENTID)
                @Html.ValidationMessageFor(m => m.AGENTID)
            </li>
            <li>
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName)
            </li>
            <li>
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </li> 
              <li>
                @Html.CheckBoxFor(m => m.IsOnline)
                @Html.LabelFor(m => m.IsOnline, new { @class = "checkbox" })
            </li>
        </ol>
        <input type="submit" value="获取" />
    </fieldset> 
}
</section>  

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
